﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FacturIT.Service.PaymentType
{
    public class PaymentTypeDTO
    {
        private FacturIT.BLL.Model.PaymentType.PaymentType paymenttype;

        public PaymentTypeDTO(FacturIT.BLL.Model.PaymentType.PaymentType paymenttype)
        {
            this.paymenttype = paymenttype;
        }
        public bool HasObject { get { return paymenttype != null; } }


        public int PaymentTypeID
        {
            get
            {
                return paymenttype.PaymentTypeID;
            }
            private set
            {
            }
        }
        public string Name
        {
            get
            {
                return paymenttype.Name;
            }
            private set
            {
            }
        }
    }
}